
#ifndef _MEMBER_BTcpSocket_H_
#define _MEMBER_BTcpSocket_H_

#include <BString>
#include <BTcpSocket>
#include <BTcpServer>

#define tcpsocket_member(tcpsocket)			((member_BTcpSocket*)((BTcpSocket*)tcpsocket)->_ptr)

namespace BWE
{
	class member_BTcpSocket
	{
	public:
		member_BTcpSocket(BTcpSocket* tcpSocket);
		~member_BTcpSocket();

		BTcpSocket*		boss;
		BTcpServer*		server;
		BString			errorStr;
	};
}

#endif
